<div class="main funds-flow  containFt" v-if="show">
	<div class="nav row">
		<div class="col">
			<a :class="{'selected':isToday}" v-on:click="switchTab(1)">今天</a>
		</div>
		<div class="col">
			<a :class="{'selected':!isToday}" v-on:click="switchTab(0)">历史</a>
		</div>
	</div>
	
    <div class="order" v-show="isToday">
        <div class="list">
            <ul id="detail-box" class="detail-box clearfix">
            <li v-for="n in rowsToday" class="f-oh">
                 <div class="l">
                     <p>{{n.changesn }}</p>
				 <p>关联单号</p>
                     <p class="date">{{n.changetime}}</p>
                 </div>
                 <div class="c"><p :class="'cl-'+(n.changefund < 0?'down':'up')">{{n.changefund|moneyFormat}}</p><p>{{n.fundflowtype|getType}}</p></div>
                 <div class="r"><p>{{n.balance|moneyFormat}}</p><p>余额</p></div>
                 </li>
            </ul>
        </div>
        
    </div>
	
    <div class="order" v-show="!isToday">
        <div class="list">
            <ul id="detail-box" class="detail-box clearfix">
            <li v-for="n in rowsHistory" class="f-oh">
                 <div class="l">
                     <p>{{n.changesn }}</p>
				 <p>关联单号</p>
                     <p class="date">{{n.changetime}}</p>
                 </div>
                 <div class="c"><p :class="'cl-'+(n.changefund < 0?'down':'up')">{{n.changefund|moneyFormat}}</p><p>{{n.fundflowtype|getType}}</p></div>
                 <div class="r"><p>{{n.balance|moneyFormat}}</p><p>余额</p></div>
                 </li>
            </ul>
        </div>
        <input type="button" value="查看更多" @click="loadHistory()" v-show="showMore.history"/>
    </div>
    
    <div class="loadingCt" id="loading" v-show="loading"></div>
</div>